package com.ruoyi.project.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 预约对象 appointment_table
 * 
 * @author 王云锦
 * @date 2023-04-07
 */
public class Appointment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 创建者id */
    private Long memberId;

    /** 创舰时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创舰时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletTime;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    /** 更新内容 */
    @Excel(name = "更新内容")
    private String updete;

    /** 预约内容 */
    @Excel(name = "预约内容")
    private String content;

    /** 预约地点 */
    @Excel(name = "预约地点")
    private String address;

    /** 预约电话 */
    @Excel(name = "预约电话")
    private String phone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }
    public void setDeletTime(Date deletTime) 
    {
        this.deletTime = deletTime;
    }

    public Date getDeletTime() 
    {
        return deletTime;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setUpdete(String updete) 
    {
        this.updete = updete;
    }

    public String getUpdete() 
    {
        return updete;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("creatTime", getCreatTime())
            .append("deletTime", getDeletTime())
            .append("state", getState())
            .append("updete", getUpdete())
            .append("content", getContent())
            .append("address", getAddress())
            .append("phone", getPhone())
            .toString();
    }
}
